//
//  LBTestCell.m
//  LBEasyTableControllerDemo
//
//  Created by 刘文扬 on 2017/9/20.
//  Copyright © 2017年 lianj. All rights reserved.
//

#import "LBTestCell.h"

@interface LBTestCell ()

/** UILabel*/
@property(nonatomic,strong)UILabel *label;

@end


@implementation LBTestCell

-(void)initSubViews
{
    [self addSubview:self.label];
    [self.label mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.insets(UIEdgeInsetsMake(15, 15, 15, 15));
    }];
}


-(void)configCellWithData:(id)data atIndexPath:(NSIndexPath *)indexPath totalCount:(NSInteger)totalCount
{
    //virtual methods
    
}


+(BOOL)isUseNib
{
    return NO;
}

-(UILabel *)label
{
    if (_label == nil) {
        
        UILabel *label = [[UILabel alloc] init];
        label.font = [UIFont systemFontOfSize:15];
        label.textColor = [UIColor blackColor];
        label.numberOfLines = 0;
        label.text = @"塑料袋口吉林省的减肥啦水电费拉斯柯达解放啦开始就的分类卡就是东风路卡是的分类卡就是的弗兰克氨基酸的联发科就爱上的联发科骄傲塑料袋副科级阿斯兰的开发阿斯兰的咖啡机啊啥兰蔻打飞机爱丽丝的开发家里收快递费就拉克丝的叫法拉开交水电费了卡加上对伐啦加上了快递费";
        _label = label;
        
    }
    return _label;
}

@end
